package com.saa.system.service;

import com.saa.system.dao.SaaApiLogDao;
import com.saa.system.dao.SaaSysLogDao;
import com.saa.system.po.SaaApiLog;
import com.saa.system.po.SaaSysLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SaaSysLogService {
    @Autowired
    private SaaSysLogDao saaSysLogDao;
    @Autowired
    private SaaApiLogDao saaApiLogDao;

    public Integer saveSaaSysLog(SaaSysLog saaSysLog){
        return saaSysLogDao.insertSelective(saaSysLog);
    }

    public Integer saveSaaApiLog(SaaApiLog saaApiLog){
        return saaApiLogDao.insertSelective(saaApiLog);
    }
}
